Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

580 lets add oneline option to the rewrite command #588

Merged
merged 3 commits into from
Nov 29, 2024

Conversation

deemp
Copy link
Member

@deemp deemp commented Nov 29, 2024

I've implemented the single-line option that prints a single expression on a single line. This option relies on the single option. Hence, the name is single-line, and not one-line as suggested originally.

Another reason is that ChatGPT thinks "single line" is used more commonly:

The correct expression is "on a single line."

When referring to text or code being written or displayed in one continuous row without line breaks, the phrase "on a single line" is the most common and accurate usage. For example, you would say, "Please print the output on a single line."

"In one line" is less commonly used, but it could still be understood in certain contexts. However, "on a single line" is the more conventional choice.

@deemp deemp linked an issue Nov 29, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant